package cn.com.jenson.service.car.repository;

import cn.com.jenson.common.BasicRepository;
import cn.com.jenson.entity.car.Car;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface CarRepository extends BasicRepository<Car> , JpaRepository<Car,Integer> , QuerydslPredicateExecutor<Car> {

    Car findByPlateAndDeleted(String plate,Boolean deleted);

}
